package com.kandinfo.base.admin.service;

import java.util.List;

import com.kandinfo.base.admin.domain.UserGroup;
import com.kandinfo.base.admin.repository.UserGroupRepository;
import com.kandinfo.base.common.service.Service;


/**
 * Class Name: UserGroupService Description: 用户群组
 * 
 * @author nanwang
 *
 */
public interface UserGroupService extends Service<UserGroup, Long, UserGroupRepository> {
    List<UserGroup> findByGroupId(Long groupId);
    
    List<UserGroup> findByUserId(Long userId);
}
